package com.yswy.domain.entity.log;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("记录事件表")
@TableName(value = "log_record")
public class LogRecord {
    @TableId(type = IdType.AUTO)
    /** id s **/
    private Long id;
    @ApiModelProperty("创建时间")
    private Date createTime = new Date();
    @ApiModelProperty("事件名字")
    private String recordName ;
    @ApiModelProperty("事件key")
    private String recordWord ;
    @ApiModelProperty("用户Id")
    private Long userId;
    @ApiModelProperty("append_information")
    private String appendInformation ;

}
